package com.funny;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @author Ming
 * @description 用户服务启动类
 * @fileSimpleName UserApplication
 * @fileName com.funny.UserApplication
 * @date 2024年07月02日 18:38
 */
@RefreshScope // 开启动态刷新
@SpringBootApplication
@EnableDiscoveryClient
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
